package com.zzr.demo.redis.service;

/**
 * @author: xiaomi
 * @date: 2021/10/11
 * @description: 使用 stream 实现消息队列
 */
public interface MessageQueueService {

    String addMessage(String key, String value);

    String getMessage(String recordId);
}

